<html {$html_attrs}>
<head>
<title>{$caption brc_items}</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
<style>
.grid_block {  
margin-top:5px;
border-collapse: collapse;
align:center;
width:95%;
border:none;
} 
.grid_block td { 
 padding: 5px; 
 margin: 0px; 
 border: solid black 1px;
}
.grid_block .gridspacing {width:20px;border-top-color:white; border-bottom-color:white;background-color:white}
@media print 
{
	a.pdf {display:none}
}
.printpage {page-break-after:always}
#selpage{margin-left:30px;}
</style> 
</head>
<body style="background-color:white">
{BEGIN body}
{$header}
{BEGIN page}
{BEGIN mastertable_block}
<div id="mastertable_block">
{$showmasterfile}
</div>
{END mastertable_block}

<h1>{$caption brc_items}</h1>
{BEGIN page_number}
<div id='selpage'>{mlang_message PAGE1} {$pageno} {mlang_message PAGE2} {$maxpages} </div>
{END page_number}
{BEGIN pdf_block}
{BEGIN pdflink_block}
<a href=# class=pdf {$pdflink_attrs}>{mlang_message PDF_VIEW}</a>
{END pdflink_block}
{END pdf_block}

{BEGIN grid_block}

<table align="center" cellpadding=5 class="grid_block">
{BEGIN grid_header}
<tr>
{BEGIN record_header}
{BEGIN invoice_no_fieldheadercolumn}
	<td>
{BEGIN invoice_no_fieldheader}
	<b>{$label brc_items invoice_no}</b>
{END invoice_no_fieldheader}
	</td>
{END invoice_no_fieldheadercolumn}
{BEGIN invoice_date_fieldheadercolumn}
	<td>
{BEGIN invoice_date_fieldheader}
	<b>{$label brc_items invoice_date}</b>
{END invoice_date_fieldheader}
	</td>
{END invoice_date_fieldheadercolumn}
{BEGIN custom_no_fieldheadercolumn}
	<td>
{BEGIN custom_no_fieldheader}
	<b>{$label brc_items custom_no}</b>
{END custom_no_fieldheader}
	</td>
{END custom_no_fieldheadercolumn}
{BEGIN custom_date_fieldheadercolumn}
	<td>
{BEGIN custom_date_fieldheader}
	<b>{$label brc_items custom_date}</b>
{END custom_date_fieldheader}
	</td>
{END custom_date_fieldheadercolumn}
{BEGIN description_fieldheadercolumn}
	<td>
{BEGIN description_fieldheader}
	<b>{$label brc_items description}</b>
{END description_fieldheader}
	</td>
{END description_fieldheadercolumn}
{BEGIN blrawb_no_fieldheadercolumn}
	<td>
{BEGIN blrawb_no_fieldheader}
	<b>{$label brc_items blrawb_no}</b>
{END blrawb_no_fieldheader}
	</td>
{END blrawb_no_fieldheadercolumn}
{BEGIN blrawb_date_fieldheadercolumn}
	<td>
{BEGIN blrawb_date_fieldheader}
	<b>{$label brc_items blrawb_date}</b>
{END blrawb_date_fieldheader}
	</td>
{END blrawb_date_fieldheadercolumn}
{BEGIN country_id_fieldheadercolumn}
	<td>
{BEGIN country_id_fieldheader}
	<b>{$label brc_items country_id}</b>
{END country_id_fieldheader}
	</td>
{END country_id_fieldheadercolumn}
{BEGIN bill_amount_fieldheadercolumn}
	<td>
{BEGIN bill_amount_fieldheader}
	<b>{$label brc_items bill_amount}</b>
{END bill_amount_fieldheader}
	</td>
{END bill_amount_fieldheadercolumn}
{BEGIN currency_id_fieldheadercolumn}
	<td>
{BEGIN currency_id_fieldheader}
	<b>{$label brc_items currency_id}</b>
{END currency_id_fieldheader}
	</td>
{END currency_id_fieldheadercolumn}
{BEGIN freight_amount_fieldheadercolumn}
	<td>
{BEGIN freight_amount_fieldheader}
	<b>{$label brc_items freight_amount}</b>
{END freight_amount_fieldheader}
	</td>
{END freight_amount_fieldheadercolumn}
{BEGIN insurance_amount_fieldheadercolumn}
	<td>
{BEGIN insurance_amount_fieldheader}
	<b>{$label brc_items insurance_amount}</b>
{END insurance_amount_fieldheader}
	</td>
{END insurance_amount_fieldheadercolumn}
{BEGIN freely_convertable_fieldheadercolumn}
	<td>
{BEGIN freely_convertable_fieldheader}
	<b>{$label brc_items freely_convertable}</b>
{END freely_convertable_fieldheader}
	</td>
{END freely_convertable_fieldheadercolumn}
{BEGIN fob_fieldheadercolumn}
	<td>
{BEGIN fob_fieldheader}
	<b>{$label brc_items fob}</b>
{END fob_fieldheader}
	</td>
{END fob_fieldheadercolumn}
{BEGIN realisation_date_fieldheadercolumn}
	<td>
{BEGIN realisation_date_fieldheader}
	<b>{$label brc_items realisation_date}</b>
{END realisation_date_fieldheader}
	</td>
{END realisation_date_fieldheadercolumn}
{BEGIN sdf_form_no_fieldheadercolumn}
	<td>
{BEGIN sdf_form_no_fieldheader}
	<b>{$label brc_items sdf_form_no}</b>
{END sdf_form_no_fieldheader}
	</td>
{END sdf_form_no_fieldheadercolumn}
{BEGIN remarks_fieldheadercolumn}
	<td>
{BEGIN remarks_fieldheader}
	<b>{$label brc_items remarks}</b>
{END remarks_fieldheader}
	</td>
{END remarks_fieldheadercolumn}
{BEGIN endrecordheader_block}
	<td class="gridspacing">&nbsp;</td>
{END endrecordheader_block}
{END record_header}
</tr>
{END grid_header}
{BEGIN grid_row}
<tr valign=top {$rowstyle} {$rowattrs}>
{BEGIN grid_record}
{BEGIN invoice_no_fieldcolumn}
<td {$invoice_no_style}>
{$invoice_no_value}
</td>
{END invoice_no_fieldcolumn}
{BEGIN invoice_date_fieldcolumn}
<td {$invoice_date_style}>
{$invoice_date_value}
</td>
{END invoice_date_fieldcolumn}
{BEGIN custom_no_fieldcolumn}
<td {$custom_no_style}>
{$custom_no_value}
</td>
{END custom_no_fieldcolumn}
{BEGIN custom_date_fieldcolumn}
<td {$custom_date_style}>
{$custom_date_value}
</td>
{END custom_date_fieldcolumn}
{BEGIN description_fieldcolumn}
<td {$description_style}>
{$description_value}
</td>
{END description_fieldcolumn}
{BEGIN blrawb_no_fieldcolumn}
<td {$blrawb_no_style}>
{$blrawb_no_value}
</td>
{END blrawb_no_fieldcolumn}
{BEGIN blrawb_date_fieldcolumn}
<td {$blrawb_date_style}>
{$blrawb_date_value}
</td>
{END blrawb_date_fieldcolumn}
{BEGIN country_id_fieldcolumn}
<td {$country_id_style}>
{$country_id_value}
</td>
{END country_id_fieldcolumn}
{BEGIN bill_amount_fieldcolumn}
<td {$bill_amount_style}>
{$bill_amount_value}
</td>
{END bill_amount_fieldcolumn}
{BEGIN currency_id_fieldcolumn}
<td {$currency_id_style}>
{$currency_id_value}
</td>
{END currency_id_fieldcolumn}
{BEGIN freight_amount_fieldcolumn}
<td {$freight_amount_style}>
{$freight_amount_value}
</td>
{END freight_amount_fieldcolumn}
{BEGIN insurance_amount_fieldcolumn}
<td {$insurance_amount_style}>
{$insurance_amount_value}
</td>
{END insurance_amount_fieldcolumn}
{BEGIN freely_convertable_fieldcolumn}
<td {$freely_convertable_style}>
{$freely_convertable_value}
</td>
{END freely_convertable_fieldcolumn}
{BEGIN fob_fieldcolumn}
<td {$fob_style}>
{$fob_value}
</td>
{END fob_fieldcolumn}
{BEGIN realisation_date_fieldcolumn}
<td {$realisation_date_style}>
{$realisation_date_value}
</td>
{END realisation_date_fieldcolumn}
{BEGIN sdf_form_no_fieldcolumn}
<td {$sdf_form_no_style}>
{$sdf_form_no_value}
</td>
{END sdf_form_no_fieldcolumn}
{BEGIN remarks_fieldcolumn}
<td {$remarks_style}>
{$remarks_value}
</td>
{END remarks_fieldcolumn}
{BEGIN endrecord_block}
<td class="gridspacing">&nbsp;</td>
{END endrecord_block}
{END grid_record}
</tr>
{END grid_row}
<!-- totals row -->
</table>
{END grid_block}
{END page}
{$footer}
{END body}
</body>
</html>